The sfwmac style option defines a set of macros which are
useful when writing program documentation. The \pgm{
program}
command expects a program name as an argument.
The name in printed (in italics) and an index entry is made for it.
Similarly, the \man{
program}(
section)
command may be used to produce references to
manual page entries.
The \arg{
argument}
, \switch{
switch}
and \file{
file}
commands may be
used when referring to program arguments and switches and to
filenames. These produce no index entry.
This style also defines a number of common program names such as
, /, etc. These are produced by means of
\LaTeX
, \SLiTeX
commands and indexed.
Suggestions for additions to the list of defined program names are welcome.